package com.hmys.api.mapper;

import com.hmys.api.model.WebVideo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebVideoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebVideo record);

    int insertSelective(WebVideo record);

    WebVideo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebVideo record);

    int updateByPrimaryKeyWithBLOBs(WebVideo record);

    int updateByPrimaryKey(WebVideo record);

    List<WebVideo> selectByBean(WebVideo record);

    int updatePageViewByPrimaryKey(Long id);
}